<link type="text/css" href="/admins/js/jquery/css/ui-lightness/transa.css" rel="stylesheet" />
<title>打印订单信息</title>
<meta charset="utf-8"/>
<style type="text/css" media=print>
      .noprint{display : none }
</style>
<table cellspacing="0" id="playlistTable" style="margin:0px auto">
      <colgroup>
            <col id="PlaylistCol" />
            <col id="trackCol" />
            <col id="artistCol" />
            <col id="albumCol" />
      </colgroup>
      <thead>
            <tr >
                  <th id="playlistPosHead" scope="col" width="33%">订单信息列表—— </th>
                  <th scope="col"width="33%">条码号</th>
                  <th scope="col"width="33%"></th>
            </tr>
      </thead>
      <tbody>
            <tr>
                  <?php
                  if ($this->packageNolist) {
                        $len = count($this->packageNolist);
                        foreach ($this->packageNolist as $key => $Item) {
                              if ($key > 2 && $key % 3 == 0) {
                                    echo "</tr>";
                              }
                              ?>
                              <td  align="center"><?php echo $Item->no; ?></td>
                              <?php
                        }
                        for ($j = 2; $j > ($key % 3); $j--) {
                              echo '<td  align="center"><?php echo $key; ?></td>';
                        }
                  }
                  ?>
            </tr>
      <caption>
            <?php
            echo Application_Model_PackageList::getbyid($Item->count)->dateCreated;
            echo'——';
            echo Application_Model_shipType::getById($Item->listId)->name;
            ?>
      </caption>
</tbody>
<tr  id="trclass" class="noprint">                 
      <td colspan="3" scope="col" align="center"><input id="btnPrint" type="button" value="打印" class="button" onclick="javascript:window.print();" />
            <input id="btnPrint" type="button" value="返回" class="button" onclick="javascript:history.go(-1)" /></th> 
</tr>
</table>

